import dayjs from 'dayjs'
/*
 * @Autor: 黄旗
 * @Date: 2020-06-02 17:47:26
 */
import request from '@/plugins/request';
// 科室病人年度在诊周期病人人数汇总表
export function treatcyclelist(data) {
    return request({
        url: '/v1/statistics/complex-report/treat-cycle-list',
        method: 'get',
        params: data
    });
}
// 复诊构成表
export function referralcomprise(data) {
    return request({
        url: '/v1/statistics/complex-report/referral-comprise',
        method: 'get',
        params: data
    });
}
// 复诊构成表下拉信息
export function referralselectinfo(data) {
    return request({
        url: '/v1/statistics/complex-report/referral-select-info',
        method: 'get',
        params: data
    });
}
// 完善度报表
export function perfectionlist(data) {
    return request({
        url: '/v1/statistics/management-report/perfection-list',
        method: 'get',
        params: data
    });
}

// 科室汇总表格数据
export function monthNumList(data) {
    // data.month_is = dayjs(data.month_is).format("YYYY-MM")
    return request({
        url: '/v1/statistics/complex-report/month-num-list',
        method: 'get',
        params: data
    });
}